<?php
/**
* Form Helper module
* @author trungdt
* @since Apr, 2012
* 
* Note: this module force using default location
* 
* Change logs
* 
*/

class formhelpermodule {
	function name() { return "Form Helper Module"; }
	function description() { return "Help automate grid from builder"; }
	function author() { return "ABSoft.vn"; }

	function hasSources() { return false; }
	function hasContent() { return false; }
	function hasViews() { return false; }
	
	function forceLocation() { 
		$loc=null;
		$loc->mod="geolocationmodule";
		$loc->src="@".$loc->mod;
		$loc->int="";
		return $loc;
	}

	function supportsWorkflow() { return false; }

	function permissions($internal = "") {
		return array(
		'administrate'=>'Administrate',
		'configure'=>'Configure',
		'create'=>'Add',
		'edit'=>'Edit',
		'delete'=>'Delete',
		);
	}
	
	function show($view,$loc = null, $title = "") {
		
	}
	function deleteIn($loc) {
		// Do nothing, no content
	}
	function install()
	{
		
	}

	function uninstall(){

	}
}